﻿using System.ComponentModel.DataAnnotations;

namespace BW.EatRabbit.API.Dtos
{
    public class UserDTO
    {
        /// <summary>
        /// 主键
        /// </summary>
      
        public int UserId { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string UserPass { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string UserNickname { get; set; }
        /// <summary>
        /// 主键
        /// </summary>
 
        public int RoleId { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }

        /// <summary>
        /// 令牌token
        /// </summary>
        public string Token { get; set; }
    }
}
